package com.jo.bean;

import lombok.Data;

import java.lang.reflect.Method;

/**
 * aop相关bean的定义，目前此aop容器包含两种bean，aspect、advice
 * @author Jo
 * @date 2018/1/25
 */
@Data
public class AopBeanDefinition extends BeanDefinition {
    private Boolean isAdvise = Boolean.FALSE;

    private Boolean isBefore = Boolean.FALSE;

    private Boolean isAfter = Boolean.FALSE;

    private Boolean isAspect = Boolean.FALSE;

    private String[] targets;

    private Method adviceMethod;

    private String aspectName;
}
